package com.citycloud.ccuap.tc.admin.projectfunction;

import com.citycloud.ccuap.commons.json.TreeNode;
import com.citycloud.ccuap.framework.service.mybatis.IMybatisService;
import com.citycloud.ccuap.tc.admin.entity.SysProjectFunction;

import java.io.InputStream;
import java.util.List;

/**
 * 项目（站点）菜单业务处理接口
 * @author sufeng
 *
 */
public interface IProjectFunctionService extends IMybatisService<SysProjectFunction, String> {
    void deleteNode(Long projectId, String funId);

    void deleteNodeList(Long projectId, List<String> funIdList);

    List<TreeNode> findNextChildNodeTree(String pid, Long projectId);

    void updateFullPathBatch(Long projectId, String funId, String existFullPath, String fullPath);

    List<SysProjectFunction> getAllChildList(Long projectId, String funId);

    List<TreeNode> findNodeTreeByName(String funName, Long projectId);

    void importProjectFunction(InputStream is, Long projectId);

}